function post2citystate(postalcode, country, result) {
    var geo = new XMLHttpRequest();
    geo.onreadystatechange = function() {
        if(geo.readyState == XMLHttpRequest.DONE) {
            var jsonObject = eval('(' + geo.responseText + ')');
            result.text = jsonObject.city + ", " + jsonObject.state + " " + jsonObject.country;
        }
    }  
    // Supports Countries:
    // AD, AR, AS, AT, AU, BD, BE, BG, BR, CA, CH, CZ, DE, DK, DO, ES, FI, FO, 
    // FR, GB, GF, GG, GL, GP, GT, GU, GY, HR, HU, IM, IN, IS, IT, JE, JP, LI, 
    // LK, LT, LU, MC, MD, MH, MK, MP, MQ, MX, MY, NL, NO, NZ, PH, PK, PL, PM, 
    // PR, PT, RE, RU, SE, SI, SJ, SK, SM, TH, TR, US, VA, VI, YT, ZA
    geo.open("GET", "http://zip.elevenbasetwo.com/v2/"+country+"/"+postalcode, true);
    geo.send();
}
